package com.zn.bean;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 码农小周
 * @since 2023-05-12
 */
@Data
public class Career implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 职业id
     */
    @TableId("career_id")
    private Long careerId;

    /**
     * 职业名称
     */
    private String careerName;

    /**
     * 管理员Id
     */
    private Long adminId;


    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

}
